home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / MacHaskell 2.2 / com / clisp / build-prelude next >
Encoding:
Text File  |  1994-09-27  |  659 b   |  23 lines  |  [TEXT/ttxt]

  1. #!/bin/sh
  2. # build-prelude -- recompile the prelude, saving the old one as old-prelude.*
  3. #
  4. cd $Y2
  5. export PRELUDEBIN=$Y2/progs/prelude/clisp
  6. rm -f $PRELUDEBIN/old*
  7. if test -e $PRELUDEBIN/Prelude.fas; then
  8.   for i in $PRELUDEBIN/Prelude*.{fas,lib,scm}; do
  9.     mv $i $PRELUDEBIN/old-`basename $i`
  10.   done
  11. fi
  12. # Need a big heap to compile the prelude.
  13. $CLISP -m 16MB -x '
  14. (load "cl-support/cl-init.lisp")
  15. (in-package "MUMBLE-USER")
  16. (setf *printers* (quote (phase-time dump-stat)))
  17. (setf *code-chunk-size* 20)
  18. (setf *compile-interface* (quote #t))
  19. (setf *interface-code-quality* 2)
  20. (setf *interface-chunk-size* (quote #f))
  21. (compile/compile *prelude-unit-filename*)
  22. '
  23.